<template>
    <el-container>
        <el-header style="height:230px">

            <el-row>
                <el-col>
                    <div style="height:100px"></div>
                </el-col>
                <el-col><span>歌单名字</span></el-col>
                <el-col :span="2" :offset="7"><span>歌单图片</span></el-col>
            </el-row>
        </el-header>
        <el-main>
            <div>
                <el-col :offset="11">
                    <button class="btn">
                        <img class="btn_img" src="../../assets/img/播放.png" alt="全部播放">
                        全部播放
                    </button>
                    <button class="btn">
                        <img class="btn_img" src="../../assets/img/编辑.png" alt="全部播放">
                        编辑歌单
                    </button>

                </el-col>
                <el-col>
                    <button class="btn">
                        <img class="btn_img" src="../../assets/img/讨论.png" alt="全部播放">
                        评论
                    </button>
                    <button class="btn">
                        <img class="btn_img" src="../../assets/img/喜欢.png" alt="全部播放">
                        喜欢
                    </button>

                </el-col>
            </div>
            <el-table :data="tableData" style="width:100%">
                <el-table-column prop="name" label="歌名" width="180" height="20px">
                </el-table-column>
                <el-table-column prop="singer" label="歌手" width="180" height="20px">
                </el-table-column>
                <el-table-column prop="time" label="时长" height="20px">
                </el-table-column>
            </el-table>
        </el-main>
    </el-container>
</template>
<script>
export default {
    data() {
        return {
            tableData: [{
                time: '12987122',
                name: '王小虎',
                amount1: '234',
                amount2: '3.2',
                amount3: 10
            }, {
                time: '12987123',
                name: '王小虎',
                amount1: '165',
                amount2: '4.43',
                amount3: 12
            }, {
                time: '12987124',
                name: '王小虎',
                amount1: '324',
                amount2: '1.9',
                amount3: 9
            }, {
                time: '12987125',
                name: '王小虎',
                amount1: '621',
                amount2: '2.2',
                amount3: 17
            }, {
                time: '12987126',
                name: '王小虎',
                amount1: '539',
                amount2: '4.1',
                amount3: 15
            }]
        };
    },
}

</script>

<style scoped>
.el-row {
    margin-bottom: 20px;
}

.el-col {
    border-radius: 4px;
}

.bg-purple-dark {
    background: #99a9bf;
}

.bg-purple {
    background: #d3dce6;
}

.bg-purple-light {
    background: #e5e9f2;
}

.grid-content {
    border-radius: 4px;
    min-height: 36px;
}

.row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
}

.el-header,
.el-footer {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
}

.el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
}

.el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
}

.btn_img {
    height: 30px;
    width: 30px;
    display: inline-block;
    left: 5px;
}

.btn {
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: white;
    /* Green */
    border: none;
    color: black;
    padding: 10px 80px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
</style>